package com.xiangxiangjd.bean.result;

import lombok.Data;

import java.util.List;

/**
 * @author LF
 * @date 2020/9/8 - 15:43
 */
@Data
public class TreeDto {
    private String id;
    private String title;
    private String pid;
    private String spread;
    private List<TreeDto> children;

    public TreeDto(String id, String title, String pid, String spread, List<TreeDto> children) {
        this.id = id;
        this.title = title;
        this.pid = pid;
        this.spread = spread;
        this.children = children;
    }

}
